From 2b94e0d8e8e0c8f504d5a43e2c24ed3e9d43ca1e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 10 May 2002 01:00:07 +0000 Subject: [PATCH] (compilation-error-regexp-alist): New element to recognize Python error messages. --- lisp/progmodes/compile.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index c1f8b9b345a..689c095f521 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -363,6 +363,10 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2) (".*\"\\([^,\" \n\t]+\\)\", lines? \ \\([0-9]+\\)\\([\(.]\\([0-9]+\\)\)?\\)?[:., (-]" 1 2 4) + ;; Python: + ;; File "foobar.py", line 5, blah blah + ("^File \"\\([^,\" \n\t]+\\)\", line \\([0-9]+\\)," 1 2) + ;; Caml compiler: ;; File "foobar.ml", lines 5-8, characters 20-155: blah blah ("^File \"\\([^,\" \n\t]+\\)\", lines? \\([0-9]+\\)[-0-9]*, characters? \\([0-9]+\\)" 1 2 3) -- 2.30.2